<%--
  Created by IntelliJ IDEA.
  User: 王勇
  Date: 2023/5/25
  Time: 17:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./A_S.js"></script>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .show{
            display:flex;
        }
        .hide{
            display: none;
        }
        .box {

            align-items: center;
            justify-content: center;
            position: absolute;
            z-index: 9999;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.80);
            top: 0;
            left: 0;
        }

        .box1 {
            background: #FFFFFF;
            border-radius: 10px;
            width: 480px;
            height: 275px;
            flex-direction: column;
            background-color: #ffffff;
        }

        .box1 .box1_s {
            margin-bottom: 20px;
            text-indent: 1em;
            line-height: 50px;
            border-radius: 10px;
            width: 100%;
            height: 50px;
            background-color: #f7f7f7;
        }
    </style>
</head>

<body>
<button id ="boxa" class="tt" type="button" onclick="funx(this.id)">1234</button>
<button id ="bt2" class="tt" type="button" onclick="funx(this.id)">1234</button>
<iframe  width=0 height=0 frameborder=0 id="myiframe" name="myiframe"></iframe>
<form action="/E_mail_servlet",method="post" target="myiframe">
    <div class="boxa box hide" id="box">
        <div class="box1 bt1a show">
            <div class="box1_s show " style=" justify-content: space-between;">
                <div class="box1_s_1  show">
                    修改昵称
                </div >
                <div  class=" show" style="cursor: pointer;
                width: 55px;
                position: relative;
                top: 10px;" onclick="fun1()">
                    <img  src="./imags/cha.png" alt="" style="height: 30px;">
                </div>
            </div>

            <div class=" show" style="justify-content: center;flex-direction: column;height: 50%;margin-top: -16px;padding-left: 13px;">
                <div class="show" style="height: 20%;" >
                    <div  class="show" style="width: 30%;justify-content: right;">当前昵称</div>
                    <span class="show" style="width: 25%;justify-content: right;">cscscscscs</span>
                </div>
                <div class="show" style="position: relative;
                /* margin-bottom: 0px; */
                height: 20%;
                top: 20px;" >
                    <div  class="show" style="width: 30%;justify-content: right;">新的昵称</div>
                    <input type="text" required maxlength="18"style="
                    padding-left: 2px;
                    top: -2px;
                    left: 43px;
                    width: 30%;
                    height: 28px;
                    position: relative;">
                </div>
            </div>
            <div style="position: relative;text-align: center;height: 70px;line-height: 70px;">
                <button type="submit" onclick="fun1()" style="
                top: 14px;
    left: 115px;
    position: absolute;
            cursor: pointer;
            width: 100px;
            margin-right: 10px;
            height: 43px;
            background-color: orange;
            border-radius: 20px;
            ">确认</button>
                <button type="submit" onclick="fun1()" style="
             top: 14px;
 left: 250px;
 position: absolute;
         cursor: pointer;
         width: 100px;
         margin-right: 10px;
         height: 43px;
         background-color: orange;
         border-radius: 20px;
         ">取消</button>
            </div>
        </div>

    </div>

    </div>

    </div>
</form>
</body>

</html>